{include file=member.header.html}
<style type="text/css">
.table .all { float: left; margin-right: 10px; cursor: pointer; }
.table .delete { float: left; padding-left: 25px; color: #919191; background: url({res file=images/member/ico.gif}) no-repeat 10px -633px; }
.desc { float: left; padding-left: 25px; color: #919191; background: url({res file=images/member/ico.gif}) no-repeat 10px -2187px; }
.table table { width: 100%; border-collapse: collapse; }
.table th { font-weight: normal; height: 32px; }
.table td { padding-top:12px; padding-bottom:12px;word-break: break-all; word-wrap:break-word;}
.table td a { color:#0579C6; text-decoration:none }
.table td a:hover { color:#FF6600; text-decoration:underline }
.table .line td { border-top: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.table .line_bold {background: url({res file=images/member/line_bold.gif}) repeat-x 0 bottom; }
.table_head_line { background: url({res file=images/member/table_line.gif}) repeat-x 0 64px; }
.tr_color th { color: #919191;}
.width1 { width: 30px; }
.width4 { width: 60px; }
.width8 { width: 140px; }
.width11 { width: 200px; }
.color1 { color: #919191; }
.font_bold {font-weight:bold;}
.table .padding6 { padding-top: 50px; background:#fff;}
.member_no_records{color: #F00; padding: 35px 0px 5px 0px; text-align:center; font-weight: bold; font-size:14px;font-family:'Microsoft Yahei'}
</style>
<div class="content_color">
<div class="content">
    <div class="totline"></div><div class="botline"></div>
    {include file=member.menu.html}
    <div id="right">
        {include file=member.submenu.html}
        <div class="wrap">
            <div class="eject_btn" title="{$lang.send_message}"><b class="ico2" onclick="go('index.php?app=message&act=send');">{$lang.send_message}</b></div>
            <br />
            <div class="public table">
                <table class="table_head_line">
                    <!--{if $messages}-->

                    <tr class="line_bold">
                    <!--{if $smarty.get.act neq 'announcepm'}-->
                        <th class="width1"><input type="checkbox" id="all" class="checkall"/></th>
                        <th class="align1" colspan="4">
                            <label for="all"><span class="all">{$lang.checkall}</span></label>
                            <a href="javascript:;" class="delete" uri="index.php?app=message&act=drop" name="msg_id" presubmit="confirm('{$lang.drop_confirm}')" ectype="batchbutton">{$lang.drop}</a>
                        </th>
                    <!--{else}-->
                        <th class="width1"></th>
                        <th colspan="5"></th>
                    <!--{/if}-->
                    </tr>

                    <tr class="line tr_color">
                        <th></th>
                        <th class="align1">{$lang.user_name}</th>
                        <th>{$lang.content}</th>
                        <th>{$lang.last_update}</th>
                        <th class="width4">{$lang.handle}</th>
                    </tr>
                    <!--{/if}-->
                    <!--{foreach from=$messages item=message name=v}-->
                    <tr {if $smarty.foreach.v.last}class="line_bold"{else}class="line"{/if}>
                        <td><!--{if $smarty.get.act neq 'announcepm'}--><input type="checkbox" class="checkitem" value="{$message.msg_id}"/><!--{/if}--></td>
                        <td class="width11">{$message.user_info.user_name}</td>
                        <td {if $message.new eq 1}class="font_bold"{/if}>{$message.content|truncate:110}</td>
                        <td class="color1 width8">{$message.last_update|date:Y-m-d H:i}</td>
                        <td class="width8"><a href="{url app=message&act=view&msg_id=$message.msg_id}" class="desc">{$lang.view_detail}</a>
                        <!--{if $message.user_info.user_name neq '公共消息'}--><a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=message&amp;act=drop&msg_id={$message.msg_id}');" class="delete">{$lang.drop}</a><!--{/if}--></td>
                    </tr>
                    <!--{foreachelse}-->
                    <tr>
                        <td colspan="5" class="member_no_records padding6">{$lang.no_records}{$lang.$smarty.get.act}</td>
                    </tr>
                    <!--{/foreach}-->
                    <!--{if $messages}-->
                    <!--{if $smarty.get.act neq 'announcepm'}-->
                    <tr>
                        <th class="width1"><input id="all2" type="checkbox" class="checkall" /></th>
                        <th class="align1"><label for="all2"><span class="all">{$lang.checkall}</span></label><a href="javascript:void(0);" class="delete" uri="index.php?app=message&act=drop" name="msg_id" presubmit="confirm('{$lang.drop_confirm}')" ectype="batchbutton">{$lang.drop}</a></th>
                        <td colspan="3">
                           <p class="position2">
                                {include file=member.page.bottom.html}
                            </p>
                         </td>
                    </tr>
                    <!--{else}-->
                    <tr>
                        <td colspan="5">
                           <p class="position2">
                                {include file=member.page.bottom.html}
                            </p>
                        </td>
                    </tr>
                    <!--{/if}-->
                    <!--{/if}-->
                </table>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<iframe id='iframe_post' name="iframe_post" frameborder="0" width="0" height="0">
</iframe>
{include file=footer_member.html}
